* Robustness Checks Mentioned in the Paper
	* Section 2 - Experimental Setting, Design and Procedures: 
		** "The sequence was randomized, but as we do not find meaningful order effects, we will report results using the pooled data below"
		** Footnote 9: "For example, when we consider our main comparisons of giving behavior (as in Table 1) and use a regression analysis to interact these decisions with a variable capturing the order of decisions, all the interaction coefficients are insignificant."
			* Results with respect to Table 1 (No difference in discrimination between the two groups) not affected by the order of giving to the in-/out-group in game 1
			reg Game12_GivingInMinusGivingOut shift // reproduce Table 1, column 3 - note that with respect to measuring discrimination (instead of the DIFFERENCE in discrimination between the groups) we use one-sided hypotheses in the paper (i.e, testing whether discrimination is greater than zero; tested with a t-test), see our preregistration
			reg Game12_GivingInMinusGivingOut shift##Game1_RecipientOutgroup // giving to the out-group first does not affect the difference between groups
			reg Game3_Giving_Out shift	// reproduce Table 1, column 4
			reg Game3_Giving_Out shift##Game1_RecipientOutgroup // giving to the out-group first does not affect the difference between groups
			reg SharingGameDiscrimination shift	// reproduce Table 1, column 5
			reg SharingGameDiscrimination shift##Game1_RecipientOutgroup, cluster(clustering)  // giving to the out-group first does not affect the difference between groups		
			
			* Results with respect to Tables 3 and A4 (Family History and Narratives Matter) not affected by the order of giving to the in-/out-group in Game 1; code below copied from Tables3andA4.do
			reg SharingGameDiscrimination TimeGoingToThisSchool c.FriendsFromOutGroupAtSchool##c.NumFriendsOutGroup SyrianRelatives PalestinianRoots ParAtt_Tragedy ParAtt_JordanDoneEnough ParAtt_RentalPrice ParAtt_Jobs childMale nChildren parentMale  governorateIncome i.b0.parentEducation parentsHaveSmartphone parentsHaveBooks Game1_RecipientOutgroup if !shift, rob cluster(clustering) // results are not affected when controlling for the order of giving in Games 1/2
			reg SharingGameDiscrimination TimeGoingToThisSchool c.FriendsFromOutGroupAtSchool##c.NumFriendsOutGroup JordanianRelatives OriginToAmman TimeInJordan  ParAtt_Tragedy ParAtt_JordanDoneEnough ParAtt_RentalPrice ParAtt_Jobs childMale nChildren parentMale governorateIncome i.b0.parentEducation parentsHaveSmartphone parentsHaveBooks Game1_RecipientOutgroup if shift & !TimeInJordan_long, rob cluster(clustering) // results are not affected when controlling for the order of giving in Games 1/2
			
		** "In addition, we varied the salience of the two group identities in the instructions. In one condition, we simply referred to children from the morning and afternoon shifts; in another we added the reminder that there are mainly Jordanian children in the morning shift and mainly Syrian children in the afternoon shift. This variation had no effect on behavior, from which we conclude that all children were perfectly aware of who attends the morning and afternoon shifts."
			** Salience of group membership
			gen Salient = .
			replace 	Salient = 1 if TreatmentGroup == 2 
			replace 	Salient = 1 if TreatmentGroup == 4 
			replace 	Salient = 0 if TreatmentGroup == 1 
			replace 	Salient = 0 if TreatmentGroup == 3 

			label 	def Salient 0 "not salient" 1 "salient"
			label	val Salient Salient
			
			reg Game12_GivingInMinusGivingOut shift##Salient // salience of the out-group does not affect behavior
			reg Game3_Giving_Out shift##Salient // salience of the out-group does not affect the difference behavior
			reg SharingGameDiscrimination shift##Salient, cluster(clustering)  // salience of the out-group does not affect behavior
			cap drop Salient
			
** Footnote 6: To be precise, not all children in the morning shift are Jordanian and not all children in the afternoon shift are Syrian. 95% of morning shift parents report being Jordanian (and 2.7% Syrian), and 88% of the afternoon shift parents report being Syrian (and 7.7% Jordanian). In our analysis, we keep the full samples because non-Jordanian children attending the morning shift are already more integrated into Jordanian society and non-Syrian children in the afternoon are likely to have a refugee background. Our results are robust to the exclusion of these children. (...)"
			preserve 
				replace Whatisyournationality = "Jordan" if OtherWriteInRequiredWhat == "Palestinian"
				replace Whatisyournationality = "Jordanian" if Whatisyournationality == "Jordan"
				replace Whatisyournationality = "Jordanian" if Whatisyournationality == "Jordanian "
				drop if shift == 0 & Whatisyournationality != "Jordanian"
				drop if shift == 1 & Whatisyournationality != "Syrian"

				ttest Game12_Giving_In = Game12_Giving_Out if !shift // Discrimination is still present for morning and afternoon shift
				ttest Game12_Giving_In = Game12_Giving_Out if shift
				ttest Game3_Giving_Out = 2.5 if !shift
				ttest Game3_Giving_Out = 2.5 if shift
				ttest SharingGameDiscrimination = 0 if !shift
				ttest SharingGameDiscrimination = 0 if shift

				ttest Game12_GivingInMinusGivingOut, by(shift) // No difference in discrimination between Jordanian and Syrian children
				ttest Game3_Giving_Out, by(shift)
				ttest SharingGameDiscrimination, by(shift)

				reg SharingGameDiscrimination TimeGoingToThisSchool c.FriendsFromOutGroupAtSchool##c.NumFriendsOutGroup SyrianRelatives PalestinianRoots ParAtt_Tragedy ParAtt_JordanDoneEnough ParAtt_RentalPrice ParAtt_Jobs childMale nChildren parentMale  governorateIncome i.b0.parentEducation parentsHaveSmartphone parentsHaveBooks if !shift, rob cluster(clustering) // regression results unaffected
				reg SharingGameDiscrimination TimeGoingToThisSchool c.FriendsFromOutGroupAtSchool##c.NumFriendsOutGroup JordanianRelatives OriginToAmman TimeInJordan  ParAtt_Tragedy ParAtt_JordanDoneEnough ParAtt_RentalPrice ParAtt_Jobs childMale nChildren parentMale governorateIncome i.b0.parentEducation parentsHaveSmartphone parentsHaveBooks if shift & !TimeInJordan_long, rob cluster(clustering) // regression results unaffected
			restore
			
* Have a nice day!